.el-table {
    div.el-loading-mask {
        @include themify() {
            background-color: themed("loadingPart");
        }
    }

    // 表头
    thead,
    thead.is-group {
        tr,
        th {
            > .cell {
                font-weight: 600;
            }
            @include themify() {
                color: themed("tableHeaderColor");
                background-color: themed("tableHeaderBg");
            }
        }
        /* 表格主体自定义select选择框默认样式 */
        .el-checkbox {
            margin-left: 4px;
        }
    }

    th.is-leaf,
    td {
        @include themify() {
            border-color: themed("tableBorderColor");
        }
        .el-table__expand-icon {
            color: inherit;
        }
    }
    // 固定表头 兼容滚动条的样式
    .has-gutter {
        th.gutter {
            @include themify() {
                background-color: themed("tableHeaderBg");
            }
        }
    }
    .el-table__fixed-right-patch {
        @include themify() {
            border-color: themed("tableHeaderBg");
            background-color: themed("tableHeaderBg");
        }
    }
    // 表身
    .el-table__body {
        tr {
            @include themify() {
                color: themed("tableBodyColor");
                background-color: themed("tableBodyBg");
            }
            // 表格文字点击颜色
            .table-icon-active {
                @include themify() {
                    color: themed("tableHeaderColor");
                }
            }
        }
        // 表格点击高亮
        tr.current-row > td {
            @include themify() {
                background-color: themed("tableBodyLightBg") !important;
            }
        }
        tr:hover > td,
        tr.hover-row > td,
        tr.hover-row.current-row > td,
        tr.hover-row.el-table__row--striped.current-row > td,
        tr.hover-row.el-table__row--striped > td {
            @include themify() {
                background-color: themed("tableBodyHoverBg");
            }
        }
    }
}
.el-table,
.el-table__expanded-cell {
    @include themify() {
        background-color: themed("tableBg");
    }
}
.el-table--striped {
    .el-table__body {
        tr.el-table__row--striped {
            td {
                @include themify() {
                    background-color: themed("tableBodyStripeBg");
                }
            }
        }
    }
}

.el-table__footer-wrapper tbody td,
.el-table__header-wrapper tbody td {
    @include themify() {
        color: themed("tableHeaderColor");
        background-color: themed("tableHeaderBg");
    }
}
.el-table--border th.gutter:last-of-type,
.el-table--border,
.el-table--group,
.el-table--border th,
.el-table__fixed-right-patch {
    @include themify() {
        border-color: themed("tableBorderColor");
    }
}
.el-table--border::after,
.el-table--group::after,
.el-table::before {
    @include themify() {
        background-color: transparent;
    }
}

.el-table__fixed-right::before,
.el-table__fixed::before {
    @include themify() {
        background-color: transparent;
    }
}

.el-table--mini {
    .cell {
        font-size: 12px;
    }
}
